package com.py.custom.ability.kafka.producer;

import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.Ordered;

/**
 * kafka自动注入
 */
@Import(MultiProducerAutoDefinitionRegistrar.class)
@PropertySource(value = "classpath:ckafka.properties", ignoreResourceNotFound = true, encoding = "UTF-8")
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
public class CKafkaProducerAutoConfiguration {

}
